package com.itheima.homework.Text7;

public class Manager extends Person{
    private double salay;
    public Manager(String s, String 张强, String 销售部) {
    }
    public Manager(String name, String id, double money, double salay) {
        super(name, id, money);
        this.salay = salay;
    }
    public void work(){
        System.out.println("姓名为"+getName()+"工号为"+getId()+"工资为:"+getMoney()+",奖金为:"+salay+",的项目经理正在管理程序员写代码");
    }
}
